﻿<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8" />
    <title>@ViewBag.Title</title>
    <link href="@Url.Content("~/Content/Site.css")" rel="stylesheet" type="text/css" />
    <script src="@Url.Content("~/Scripts/jquery-1.5.1.min.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/modernizr-1.7.min.js")" type="text/javascript"></script>
</head>
<body>
    <div class="page">
        <header>
            <div id="title" style="font-family: 'Segoe Print'">            
                <h1>EVENT PLANNER</h1> 
            </div>
            <div id="logindisplay">
                @Html.Partial("_LogOnPartial")
            </div>            
             <br/>
             <br/><br/>
            <nav>                
                <ul id="menu">
                    @if (User.Identity.IsAuthenticated) 
                    {
                    <li class="extras" title="Datos Personales">
                        @Html.ActionLink("Mi Perfil", "Index", "Usuario")</li>
                        
                    <li class="extras" title="Eventos a los que asistiré">
                        @Html.ActionLink("Inscripciones", "Inscripciones", "Evento")</li>
                        
                    <li class="extras">
                        @Html.ActionLink("Contactos", "Index", "Contacto")</li>
                        
                    <li class="extras" title="Administración de Eventos">
                        @Html.ActionLink("Mis Eventos", "MisEventos", "Evento")</li>
                        
                    <li class="extras">
                        @Html.ActionLink("Crear Evento", "Create", "Evento")</li>
                    }                    
                    <li class="bases" title="Todos los Eventos">
                        @Html.ActionLink("Inicio", "Index", "Evento")</li>

                    <li class="bases">
                        @Html.ActionLink("Acerca de", "About", "Home")</li>

                    @if ((User.Identity.Name == "Admin") || (User.Identity.Name == "admin"))
                    {
                        <li class="special" title="Error Log">
                            @Html.ActionLink("Error Log", "LogError","Home")</li>                                                    
                    }                                        
                </ul>                                                                           
            </nav>
        </header>
        <section id="main">
            @RenderBody()
        </section>
        <footer>
        </footer>
    </div>
    

</body>
</html>
